package com.weh.booksystem.service;

import org.springframework.stereotype.Service;

import javax.mail.MessagingException;

@Service
public interface MailService {
    String sendCheckCode(String email) throws MessagingException;

    void sendReservation(String email, String bookName) throws MessagingException;

    void sendOverDueMail(String email, String bookName) throws MessagingException;
}
